package p270jp.pxv.android.viewholder;

import android.view.View;
import android.view.ViewGroup;
import p045be.C1060c;
import p165fo.C3114c;
import p270jp.pxv.android.R;
import p270jp.pxv.android.event.OpenFollowFilterDialogEvent;
import p270jp.pxv.android.view.SegmentedLayout;
import p314lg.ListItemFollowWorkTypeSelectorBinding;
import p521th.SolidItemViewHolder;
import p547uh.View$OnClickListenerC6479k9;

/* renamed from: jp.pxv.android.viewholder.NewFollowWorksSegmentViewHolder */
/* loaded from: classes2.dex */
public class NewFollowWorksSegmentViewHolder extends SolidItemViewHolder {
    private final ListItemFollowWorkTypeSelectorBinding binding;

    public NewFollowWorksSegmentViewHolder(ListItemFollowWorkTypeSelectorBinding r4Var) {
        super(r4Var.f2666e);
        this.binding = r4Var;
    }

    /* renamed from: a */
    public static /* synthetic */ void m4419a(View view) {
        lambda$createViewHolder$0(view);
    }

    public static NewFollowWorksSegmentViewHolder createViewHolder(ViewGroup viewGroup, SegmentedLayout.OnSelectSegmentListener onSelectSegmentListener, int i) {
        ListItemFollowWorkTypeSelectorBinding r4Var = (ListItemFollowWorkTypeSelectorBinding) C1060c.m10358a(viewGroup, R.layout.list_item_follow_work_type_selector, viewGroup, false);
        r4Var.f22209q.setOnClickListener(View$OnClickListenerC6479k9.f27700d);
        r4Var.f22210r.m4467a(viewGroup.getResources().getStringArray(R.array.illustmanga_novel), i);
        r4Var.f22210r.setOnSelectSegmentListener(onSelectSegmentListener);
        return new NewFollowWorksSegmentViewHolder(r4Var);
    }

    public static /* synthetic */ void lambda$createViewHolder$0(View view) {
        C3114c.m6284b().m6280f(new OpenFollowFilterDialogEvent());
    }

    @Override // p521th.SolidItemViewHolder
    public void onBindViewHolder(int i) {
    }
}
